package eteam.aps.systemservice.model.mapper;

import eteam.aps.systeminterface.model.dto.RoleDto;
import eteam.aps.systeminterface.model.entity.UserEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface IRoleMapper {
    IRoleMapper INSTANCE = Mappers.getMapper(IRoleMapper.class);

    UserEntity toEntity(RoleDto param);

    RoleDto toDto(UserEntity param);
}